package com.rh.manage.view;

import com.rh.manage.annotation.ComponentBean;
import com.rh.manage.annotation.FactoryAutowired;
import com.rh.manage.common.View;
import com.rh.manage.constants.FrameCategoryEnum;
import com.rh.manage.factory.OpenMindAppCmdTextFieldFactory;

import javax.swing.JTextField;

@ComponentBean(FrameCategoryEnum.PRO_MANAGE)
public class OpenMindAppCmdTextFieldView implements View {

    @FactoryAutowired(OpenMindAppCmdTextFieldFactory.class)
    private JTextField textField;

    public String getText() {
        return textField.getText();
    }
}
